<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use yii\jui\InputWidget;
?>
	

<?php 

/*@var $form yii\widgets\ActiveForm */
$form = ActiveForm::begin([
//'enableClientScript'=>true,
'options'=>['enctype'=>'multipart/form-data','class'=>'form-horizontal'],
'fieldConfig'=>['template'=>'{label}<div class="col-sm-9">{input}{hint}<span class="help-inline col-xs-12 col-sm-7">

{error}</span></div>',
'labelOptions'=>['class' =>'col-sm-3 control-label no-padding-right'],
'inputOptions'=>['class' =>'col-xs-10 col-sm-4'],
'errorOptions'=>['class' =>'help-block middle']
]
])
?>
<?=$form->field($prostatusadd, 'ProStatusID')->textInput() ?>
<?=$form->field($prostatusadd, 'ProStatusName')->textInput() ?>
<?=$form->field($prostatusadd, 'Status')->radioList([0=>'非活动中',1=>'活动中']) ?>
<?=$form->field($prostatusadd, 'Remark')->textInput() ?>
<?=Html::input('hidden','action','prostatus')?>
<div class="form-group has-warning">
    <label for="inputWarning" class="col-xs-12 col-sm-5 control-label no-padding-right"></label>
    <div class="col-xs-12 col-sm-5">															
     <?= Html::submitButton('添加',['class'=>'btn btn-primary']); ?>
     &nbsp;&nbsp;
     <?= Html::resetButton('重置',['class'=>'btn btn-danger']); ?>
    </div>
</div>

<?php 
$form = ActiveForm::end();
?>